home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / ArithmeticException.java < prev    next >
Text File  |  1998-09-22  |  1KB  |  49 lines

  1. /*
  2.  * @(#)ArithmeticException.java    1.15 98/07/01
  3.  *
  4.  * Copyright 1995-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.lang;
  16.  
  17. /**
  18.  * Thrown when an exceptional arithmetic condition has occurred. For 
  19.  * example, an integer "divide by zero" throws an 
  20.  * instance of this class. 
  21.  *
  22.  * @author  unascribed
  23.  * @version 1.15, 07/01/98
  24.  * @since   JDK1.0
  25.  */
  26. public
  27. class ArithmeticException extends RuntimeException {
  28.     /**
  29.      * Constructs an <code>ArithmeticException</code> with no detail 
  30.      * message. 
  31.      *
  32.      * @since   JDK1.0
  33.      */
  34.     public ArithmeticException() {
  35.     super();
  36.     }
  37.  
  38.     /**
  39.      * Constructs an <code>ArithmeticException</code> with the specified 
  40.      * detail message. 
  41.      *
  42.      * @param   s   the detail message.
  43.      * @since   JDK1.0
  44.      */
  45.     public ArithmeticException(String s) {
  46.     super(s);
  47.     }
  48. }
  49.